package components;

import javax.swing.*;

public class MyFirstLabel extends JLabel {
    public MyFirstLabel(String text){
        setText(text);
        setHorizontalAlignment(SwingConstants.CENTER);
    }
}
